package com.zbkj.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.city.CityRegion;
import com.zbkj.common.model.city.CityRegionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 城市表 Mapper 接口
 * +----------------------------------------------------------------------
 */
@Mapper
public interface CityRegionDao extends BaseMapper<CityRegionEntity> {


    List<CityRegion> selectByLastRegionId(@Param("regionId") Integer regionId, @Param("lastRegionId") Integer lastRegionId);



    int updateByRegionId(CityRegionEntity addCity);
}
